@extends('backend.layouts.app')

@section('page-header')
    <h1>
        {{ app_name() }}
        <small> {{ trans('backend.itemContracts.name') }} </small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="{{ route('admin.dashboard') }}"><i class="fa fa-dashboard"></i> {{ trans('navs.general.home') }}</a></li>
        <li><a href="{{ route('itemContracts.index') }}"> {{ trans('backend.itemContracts.name') }}</a></li>
        <li class="active"> {{ trans('buttons.general.crud.edit') }}</li>
    </ol>
@endsection

@section('content')
   @include('adminlte-templates::common.errors')
   <div class="box box-primary">
       <div class="box-body">
           <div class="row">
               {!! Form::model($itemContract, ['route' => ['itemContracts.update', $itemContract->id], 'method' => 'patch']) !!}

                    @include('backend.item_contracts.fields')

               {!! Form::close() !!}
           </div>
       </div>
   </div>
@endsection
